// #[warn(unused_imports)]
// use std::io::{self, Write};
// use std::{cmp::Ordering, io};
pub fn hello() {
    println!("==========yes::hello.rs===========");

    crate::hello::hello();
    hellodemo();
    demo()
}

use crate::hello::good::hello as hellodemo;

// 枚举类型

enum IpAddrKind {
    V4,
    V6,
}

// struct IpAdd {
//     kind: IpAddrKind,
//     addr: u8,
// }

fn demo() {
    ss();
    let _n = Some(5);
    let _m = 5;
    let _s = Some("hello");
    let four = IpAddrKind::V4;
    let six = IpAddrKind::V6;
    println!("{:?}", route(four));
    println!("{:?}", route(six));

    // route(four);
    // route(six);
    // route(IpAdd::V4);
}

fn route(_ip_kind: IpAddrKind) {}
fn ss() {
    println!("sssss");
}
